Skip to content

Conversation

kylesayrs
Copy link

@kylesayrs kylesayrs commented Jun 13, 2024

Implements sparsity metric for initializer tensors as a first step to supporting #1240 and #65.

  • Add style member to view.Argument to store style
  • Implement the percentage style for displaying percentages such as sparsity
  • Add a metrics section to the TensorSidebar which displays tensor metrics
  • Lazily calculate metrics of a tensor only when demanded by TensorSidebar

Tensor Properties sidebar now includes a metrics section with sparsity
Screenshot 2024-06-13 at 00 32 36

Tensors which are not initializers do not have metrics
Screenshot 2024-06-13 at 00 33 04

lutzroeder added a commit that referenced this pull request Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants